package Work0516;

/**
 * 鱼
 * 
 * @author Y
 *
 */
public class Fish implements Swimming {
	private String name;

	public Fish(String name) {
		this.name = name;
	}

	public void swim() {
		System.out.println(name + "扇动尾巴游泳");
	}

}
